createSession

  • function
 

Creates the session on the server and when successful updates app with the session. Sets sessionPromise.

navigation.createSession(ev)

Creates the session on the server and when successful updates app with the session. Sets sessionPromise.

Parameters

  1. ev {Event}Optional

    Optional DOM event that will be prevented if passed.